<?php
/*********************************************
  CPG Dragonfly™ CMS
  ********************************************
  Copyright © 2004-2005 by CPG-Nuke Dev Team
  http://www.dragonflycms.com

  Dragonfly is released under the terms and conditions
  of the GNU GPL version 2 or any later version
Encoding test: n-array summation ∑ latin ae w/ acute ǽ
*******************************************************/
if (!defined('CPG_NUKE')) { exit; }
if (is_active($module) && can_admin($module)) {
	list($cpg_prefix) = $db->uFetchRow('SELECT prefix FROM '.$prefix."_cpg_installs WHERE dirname = '$module'");
	list($coppermine_lang_dir) = $db->uFetchRow("SELECT dirname FROM ".$cpg_prefix."installs WHERE cpg_id=1");
	Dragonfly::getKernel()->L10N->load($coppermine_lang_dir);
    $count = $db->sql_count($cpg_prefix.'pictures', "approved=0");
    $content .= '<b>&#8226;</b>&nbsp;<a href="'.URL::index($module.'&amp;file=editpics&amp;mode=upload_approval').'">'.ucfirst($module).' Approval</a>: ' . $count.'<br />';
}
